package codeblock;

/**
 * @description:
 * @Author yyp
 * @time 2022/01/06
 */
public class Main01 {
    public static String name = "杨云鹏";

    private int n1 = 1000;

    public static void hi(){
        System.out.println("Main01的hi方法");
    }

    public void cry(){
        System.out.println("Main01的cry方法");
    }

    public static void main(String[] args) {
        System.out.println(name);
        //System.out.println(n1);

        hi();
        //cry();
        Main01 main01 = new Main01();
        main01.cry();
    }
}
